package com.t.bricks.bussiness.db.entity.visitlog.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 来访记录'VisitLog'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 * @DateTime 2021年05月15日 18:39:05
 */
@ApiModel("来访记录VisitLog")
@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog")
public class VisitLogBase implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog",
		sName="sId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="0", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="0")
	//[end]
	protected String sId;

	/**
	 * 所属区域
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sArea", sComment="所属区域", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="所属区域", example="")
	//[end]
	protected String sArea;

	/**
	 * 访客姓名
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sName", sComment="访客姓名", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="访客姓名", example="")
	//[end]
	protected String sName;

	/**
	 * 访客身份证
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sIdentNumber", sComment="访客身份证", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="访客身份证", example="")
	//[end]
	protected String sIdentNumber;

	/**
	 * 访客电话
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sPhone", sComment="访客电话", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="访客电话", example="")
	//[end]
	protected String sPhone;

	/**
	 * 来访事由
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sThing", sComment="来访事由", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="来访事由", example="")
	//[end]
	protected String sThing;

	/**
	 * 来访时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="dTimeSt", sComment="来访时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=6 )
	@ApiModelProperty(value="来访时间", example="")
	//[end]
	protected Date dTimeSt;

	/**
	 * 离开时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="dTimeEd", sComment="离开时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=7 )
	@ApiModelProperty(value="离开时间", example="")
	//[end]
	protected Date dTimeEd;

	/**
	 * 目的地
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sDestination", sComment="目的地", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="目的地", example="")
	//[end]
	protected String sDestination;

	/**
	 * 入口
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sEntrance", sComment="入口", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="入口", example="")
	//[end]
	protected String sEntrance;

	/**
	 * 被访业主名
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sOwner", sComment="被访业主名", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="被访业主名", example="")
	//[end]
	protected String sOwner;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建者
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sCreator", sComment="创建者", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=12 )
	@ApiModelProperty(value="创建者", example="00000000")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=13 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=14 )
	@ApiModelProperty(value="修改人", example="00000000")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=15 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="iState", sComment="状态", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="状态", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=17 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="VisitLog", sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=18 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置记录编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 所属区域
	 * @return String
	 */
	public String getsArea() {
		return sArea;
	}

	/**
	 * 设置所属区域
	 * @param sArea
	 */
	public void setsArea(String sArea) {
		this.sArea = sArea;
	}

	/**
	 * 取 访客姓名
	 * @return String
	 */
	public String getsName() {
		return sName;
	}

	/**
	 * 设置访客姓名
	 * @param sName
	 */
	public void setsName(String sName) {
		this.sName = sName;
	}

	/**
	 * 取 访客身份证
	 * @return String
	 */
	public String getsIdentNumber() {
		return sIdentNumber;
	}

	/**
	 * 设置访客身份证
	 * @param sIdentNumber
	 */
	public void setsIdentNumber(String sIdentNumber) {
		this.sIdentNumber = sIdentNumber;
	}

	/**
	 * 取 访客电话
	 * @return String
	 */
	public String getsPhone() {
		return sPhone;
	}

	/**
	 * 设置访客电话
	 * @param sPhone
	 */
	public void setsPhone(String sPhone) {
		this.sPhone = sPhone;
	}

	/**
	 * 取 来访事由
	 * @return String
	 */
	public String getsThing() {
		return sThing;
	}

	/**
	 * 设置来访事由
	 * @param sThing
	 */
	public void setsThing(String sThing) {
		this.sThing = sThing;
	}

	/**
	 * 取 来访时间
	 * @return Date
	 */
	public Date getdTimeSt() {
		return dTimeSt;
	}

	/**
	 * 设置来访时间
	 * @param dTimeSt
	 */
	public void setdTimeSt(Date dTimeSt) {
		this.dTimeSt = dTimeSt;
	}

	/**
	 * 取 离开时间
	 * @return Date
	 */
	public Date getdTimeEd() {
		return dTimeEd;
	}

	/**
	 * 设置离开时间
	 * @param dTimeEd
	 */
	public void setdTimeEd(Date dTimeEd) {
		this.dTimeEd = dTimeEd;
	}

	/**
	 * 取 目的地
	 * @return String
	 */
	public String getsDestination() {
		return sDestination;
	}

	/**
	 * 设置目的地
	 * @param sDestination
	 */
	public void setsDestination(String sDestination) {
		this.sDestination = sDestination;
	}

	/**
	 * 取 入口
	 * @return String
	 */
	public String getsEntrance() {
		return sEntrance;
	}

	/**
	 * 设置入口
	 * @param sEntrance
	 */
	public void setsEntrance(String sEntrance) {
		this.sEntrance = sEntrance;
	}

	/**
	 * 取 被访业主名
	 * @return String
	 */
	public String getsOwner() {
		return sOwner;
	}

	/**
	 * 设置被访业主名
	 * @param sOwner
	 */
	public void setsOwner(String sOwner) {
		this.sOwner = sOwner;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建者
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建者
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
